package com.hebeu.gfh.mapper;

import com.hebeu.gfh.pojo.po.ClubLike;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: 刘剑利
 * @Version: v1.0
 */
@Mapper
@Repository
public interface clubLikeMapper {
    public void addLike(ClubLike clubLike);
    //通过clubid和userid查询是否点过赞
    public int islike (ClubLike clubLike);

    public int getLikeNum(int clubId);

    public void deleteLike(ClubLike clubLike);
}
